package org.example.hzit.client;


import org.example.hzit.entity.User;
import org.example.hzit.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(value = "hzit-user")
public interface UserClient {

    @GetMapping("/user/list")
    R<List<User>>list();
}
